package com.kxmall.recommend.domain.bo;

import com.kxmall.common.core.domain.BaseEntity;
import com.kxmall.common.core.validate.AddGroup;
import com.kxmall.common.core.validate.EditGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;
import java.util.List;


/**
 * 推荐管理业务对象 kx_recommend
 */

@Data
@ApiModel("推荐管理业务对象")
@EqualsAndHashCode(callSuper = true)
public class KxRecommendBo extends BaseEntity {

    /**
     * 推荐管理ID
     */
    @ApiModelProperty(value = "推荐管理ID")
    @NotNull(message = "推荐管理ID不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 商品ID
     */
    @ApiModelProperty(value = "商品ID")
    private Long productId;

    /**
     * 商品ID数组
     */
    @ApiModelProperty(value = "商品ID数组")
    private List<Long> productIds;

    /**
     * 推荐类型1特价推荐
     */
    @ApiModelProperty(value = "推荐类型1特价推荐")
    private Long recommendType;


}
